package com.kun.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * http://localhost:8881/getConfig
 * */
@RestController
public class ConfigController {

    @Value("${testConfig}")
    String testConfig;

    @RequestMapping(value = "/getConfig")
    public String getConfig(){
        return testConfig;
    }
}
